<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var shuang = {
				name: "shuanghsuang",
				age: 35,
				balance: 20000,
				number: 12345678911
			};
			
			//for(var 变量 in 对象){ }
			for(var n in shuang){
				console.log("value：" + n);
			}
			console.log("----------------------------");
			for(var n in shuang){
				console.log("key：" + shuang[n]);
			}
		</script>
	</body>
</html>
